export function generateRandomItem(colIndex, rowIndex = 3) {
    return Array.from({ length: rowIndex }, (_, i) => {
        if ((i - colIndex) % 3 === 0 && i >= colIndex) {
            const chars =
                "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
            const str = Array.from(
                { length: 200 },
                () => chars[Math.floor(Math.random() * chars.length)]
            ).join("");
            return { id: `${colIndex}_${i}`, name: `${colIndex}_${i}_${str}` };
        }
        return { id: `${colIndex}_${i}`, name: `${colIndex}_${i}` };
    });
}